import Layout from '@/layout/Index.vue';

export default {
    path: '/jizhang',
    name: 'jizhang',
    component: Layout,
    meta: {
        title: '记账',
        icon: '#el-icon-grid',
        // parentId: -1
    },
    children: [
        {
            path: '/exchangeBook',
            component: () => import('@/views/exchange/ExchangeBookList.vue'),
            name: 'exchangeBook',
            meta: {
                title: '账本管理',
                icon: '#el-icon-grid',
                roles: ['sys:code']
            }
        },
        {
            path: '/exchangeIcon',
            component: () => import('@/views/exchange/ExchangeIconList.vue'),
            name: 'exchangeIcon',
            meta: {
                title: '图标管理',
                icon: '#el-icon-grid',
                roles: ['sys:code']
            }
        },{
            path: '/exchangeType',
            component: () => import('@/views/exchange/ExchangeBillTypeList.vue'),
            name: 'exchangeType',
            meta: {
                title: '账单类型',
                icon: '#el-icon-grid',
                roles: ['sys:code']
            }
        },{
            path: '/exchangeBill',
            component: () => import('@/views/exchange/ExchangeBillList.vue'),
            name: 'exchangeBill',
            meta: {
                title: '账单管理',
                icon: '#el-icon-grid',
                roles: ['sys:code']
            }
        },
    ]
}